<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
<!--                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('shop_order/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>-->
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('shop_order/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('shop_order/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>

                        <a href="javascript:;" class="btn btn-default" style="font-size:14px;color:dodgerblue;">

                            <span class="extend">
                                <i class="fa fa-rmb"></i>总营业额：<span id="total">0</span>
                                <i class="fa fa-rmb"></i>付款金额：<span id="payment">0</span>
<!--                                <i class="fa fa-rmb"></i>增项金额：<span id="addon">0</span>-->
                                <i class="fa fa-rmb"></i>退单金额：<span id="chargeback">0</span>
                            </span>
                        </a>
                        

                        
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('shop_order/edit')}"
                           data-operate-del="{:$auth->check('shop_order/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<script id="sourcetpl" type="text/html">
    <div class="row">
        <div class="col-xs-12">
            <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area">
                <select class="province form-control" name="province_id" data-url="ajax/area" ></select>
                <input type="hidden" class="operate" data-name="province_id" value="=" />
                <select class="city form-control" name="city_id" data-url="ajax/area" data-query-name="province"></select>
                <input type="hidden" class="operate" data-name="city_id" value="=" />
                <select class="area form-control" name="area_id" data-url="ajax/area" data-query-name="city"></select>
                <input type="hidden" class="operate" data-name="area_id" value="=" />
            </div>
        </div>
    </div>
</script>

